package com.jzo2o.customer.controller.open;

import com.jzo2o.customer.model.dto.request.InstitutionRegisterReqDTO;
import com.jzo2o.customer.service.IServeProviderService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author:zhq
 * @Date: 2025/09/17 14:46
 * @Description:
 */
@RestController
@RequestMapping("/open/serve-provider")
public class RegisterController {
    @Resource
    private IServeProviderService serveProviderService;
    @PostMapping("/institution/register")
    @ApiOperation("服务人员/机构基本信息")
    public void  register(@RequestBody InstitutionRegisterReqDTO institutionRegisterReqDTO) {
        serveProviderService.register(institutionRegisterReqDTO);
    }
}
